package com.library.settings.service;

import com.library.settings.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    int saveUser(User user);

    User queryUserByAccount(String userAccount);

    User queryUserByLoginActAndLogonPwd(Map<String,Object> map);

    List<User> queryUsersByActNameAndSexForPage(Map<String,Object> map);

    int queryUserByActNameAndSexForRows(Map<String,Object> map);

    int deleteUserByUserId(String userId);

    User queryUserByUserId(String userId);

    int updateUser(User user);

}
